import 'package:json_annotation/json_annotation.dart';
part 'room_app_liance_item.g.dart';

@JsonSerializable()
class RoomAppLianceItem {
  final String title;
  final int iconPoint;
  final bool isChecked;

  const RoomAppLianceItem(this.title, this.iconPoint, this.isChecked);
  factory RoomAppLianceItem.fromJson(Map<String, dynamic> json) =>
      _$RoomAppLianceItemFromJson(json);

  Map<String, dynamic> toJson(RoomAppLianceItem instance) =>
      _$RoomAppLianceItemToJson(this);
}
